package com.nifostasky.comic.entitys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 漫画详细信息表
 * (CoDetailedInfo)表实体类
 *
 * @author makejava
 * @since 2022-02-13 15:10:28
 */
@Data
@TableName(value = "co_detailed_info")
@ApiModel(value = "CoDetailedInfo类", description = "漫画详细信息表 ")
public class CoDetailedInfo extends SysBaseEntity implements Serializable {
        private static final long serialVersionUID = 1L;

        /**
         * 主键:
         * 表id
        */
        @ApiModelProperty(value = "表id")
        @TableId(value = "id", type = IdType.AUTO)
        private Long id;


        /**
         * 漫画名称
         */
        @ApiModelProperty(value = "漫画名称")
        @TableField(value = "title")
        private String title;

        /**
         * 漫画作者
         */
        @ApiModelProperty(value = "漫画作者")
        @TableField(value = "author")
        private String author;

        /**
         * 图片url
         */
        @ApiModelProperty(value = "图片url")
        @TableField(value = "picture")
        private String picture;

        /**
         * 跳转章节信息url
         */
        @ApiModelProperty(value = "跳转章节信息url")
        @TableField(value = "jumpurl")
        private String jumpurl;

        /**
         * 更新状态信息: 连载中 完结
         */
        @ApiModelProperty(value = "更新状态信息: 连载中 完结")
        @TableField(value = "update_state")
        private String updateState;

        /**
         * 目前更新最新话
         */
        @ApiModelProperty(value = "目前更新最新话")
        @TableField(value = "update_sum")
        private String updateSum;

        /**
         * 章节名称
         */
        @ApiModelProperty(value = "章节名称")
        @TableField(value = "update_chapter")
        private String updateChapter;

        /**
         * 漫画类型
         */
        @ApiModelProperty(value = "漫画类型")
        @TableField(value = "type")
        private String type;

        /**
         * 国家
         */
        @ApiModelProperty(value = "国家")
        @TableField(value = "country")
        private String country;

        /**
         * 漫画简介
         */
        @ApiModelProperty(value = "漫画简介")
        @TableField(value = "`describe`")
        private String describe;

        /**
         * 漫画url是否失效: 未失效-0 , 失效-1
         */
        @ApiModelProperty(value = "漫画url是否失效: 未失效-0 , 失效-1")
        @TableField(value = "state")
        private Integer state;
}